<%-- 
    Document   : RecoverPassword
    Created on : Nov 16, 2013, 9:20:47 PM
    Author     : smarzoug
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>RecoverPassword.jsp</title>
        <link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900" rel="stylesheet" />
        <link href="default.css" rel="stylesheet" type="text/css" media="all" />
        <link href="fonts.css" rel="stylesheet" type="text/css" media="all" />
        
        <script language="javascript">
            function check()
            {
                var f= document.form1;
                if(f.ch.checked)
                {
                   f.squest.disabled = true;
                   f.ownquest.disabled = false;
                }
                else
                {
                   f.squest.disabled = false;
                   f.ownquest.disabled = true;
                } 
            }
            function hide()
            {
                document.getElementById('to_hide').style.display = 'none';
            }
        </script>    
    </head>

    <body>
        <div id="header-wrapper">
            <div id="header" class="container">
                    <div id="logo">
                            <span class="icon icon-fire"></span>
                            <h1><a href="#">Edu-Fac</a></h1>
                    </div>
                    <div id="menu">
                            <ul>
                                    <li class="current_page_item"><a href="index.jsp" accesskey="1" title="">Accueil</a></li>
                                    <li><a href="#" accesskey="5" title="">Contacts</a></li>
                            </ul>
                    </div>
            </div>
        </div>
        <div id="wrapper2">
            <div id="newsletter" class="container">
                <div class="content">
                    <form class="text" name="form1" method="post" action="RecoverPasswordAction.jsp">
                        <legend><strong>RETROUVER SON MOT DE PASSE</strong></legend>					  
                            <p>&nbsp;</p>
                            <TABLE border="0" align="center">
                                <TR>
                                    <TD><input type="text" class="text" name="username" placeholder="Nom d'utilisateur" /></TD>
                                </TR>
                                <TR>
                                    <TD>
                                        <SELECT name="squest">
                                            <OPTION value="1"> Passe-temps favori? </OPTION>
                                            <OPTION value="2"> Personnage préféré? </OPTION>
                                            <OPTION value="3"> Nom de votre 1ère école? </OPTION>
                                            <OPTION value="4"> Lieu de naissance de votre épouse? </OPTION>
                                            <OPTION value="5"> Sport favori? </OPTION>
                                            <OPTION value="6"> Deuxième prénom de ton père? </OPTION>
                                            <OPTION value="7"> Nom de la mascotte de l'école? </OPTION>
                                            <OPTION value="8"> Modèle de votre premier véhicule? </OPTION>
                                            <OPTION value="9"> Nom de votre animal de compagnie? </OPTION>
                                        </SELECT>
                                    </TD>
                                </TR>
                                <TR>
                                    <TD>Question personnalisée ?
                                        <INPUT type="checkbox" class="text" name="ch" value="1" onClick="check()">
                                    </TD>
                                </TR>
                                <TR>
                                    <TD><INPUT type="text" class="text" name="ownquest" disabled placeholder="Question personnalisée"></TD>
                                </TR>
                                <TR>
                                    <TD><INPUT name="sanswer" type="text" class="text" placeholder="Réponse secrète"></TD>
                                </TR>
                                <TR>
                                    <TD colspan="2">
                                        <DIV align="center">
                                            <INPUT class="button submit" name="Input" type="submit" value="Envoyer">
                                            &nbsp;
                                            <INPUT class="button submit" name="Input" type="reset" value="Réinitialiser">
                                            <br><a class="button submit" href="index.jsp">Page d'accueil</a>
                                        </DIV>
                                    </TD>
                                </TR>
                            </TABLE>
                    </form>
                </div>
            </div>
        </div>
        <div id="copyright">
            <p>Copyright (c) 2013 Sofyen MARZOUGUI - ECE Paris - All rights reserved.</p>
        </div>  
        
    </body>
</html>
